INCLUDE(FILES.cmake)

# LINK_DIRECTORIES($ENV{HOME}/lib)

INCLUDE_DIRECTORIES( BEFORE ${ROOT}/src ${ROOT}/src/common ${ROOT}/src/wxbzip )
LINK_DIRECTORIES(${ROOT}/lib)

############################# client ####################################

IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
    ADD_EXECUTABLE(Citrus-debug ${citrus_src}) # WIN32
    TARGET_LINK_LIBRARIES(Citrus-debug psapi wininet ${wxWidgets_LIBRARIES} -static-libgcc)
ELSE()
    ADD_EXECUTABLE(Citrus WIN32 ${citrus_src}) # WIN32
    TARGET_LINK_LIBRARIES(Citrus psapi wininet ${wxWidgets_LIBRARIES} -static-libgcc)
ENDIF()
